<div class="pageContent">
    <form method="post" action="/login/index" class="pageForm" onsubmit="return validateCallback(this, dialogAjaxDone)">
        <div class="pageFormContent" layoutH="58">
            <div class="unit">
                <label>用户名：</label>
                <input type="text" name="username" size="30" class="required"/>
            </div>
            <div class="unit">
                <label>密码：</label>
                <input type="password" name="password" size="30" class="required"/>
            </div>
            <div class="unit">
                <label>软件：</label>
				<select name="soft_id" class="required" style="width:200px">
					<option value="">选择软件</option>
				<?PHP foreach($soft_menu as $t):?>
					<option value="<?PHP echo $t['soft_id']?>" <?php if($this->input->post('soft_id')) echo 'selected="selected"'?>><?PHP echo $t['name']; ?></option>
				<?PHP endforeach; ?>
				</select>
            </div>			
            <div class="unit">
                <label>验证码：</label>
                <input class="code required" type="text" name="verify" size="15" autocomplete="off"/>&nbsp;
                <span id="verify" onclick="$.get('/login/verify',function($reg){$('#verify').html($reg);})"><?PHP echo $verify;?></span>

            </div>
        </div>
        <div class="formBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
                <li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
            </ul>
        </div>
    </form>

</div>

